import threading
import time

def run(n):
    print('task start', n, threading.current_thread())
    time.sleep(3)
    print('task done...', n)

t_list = []
for i in range(10):
    t = threading.Thread(target=run, args=('t%s' % i, ))
    t.setDaemon(True)
    t.start()
    t_list.append(t)

# for t in t_list:
#     t.join()

print(threading.current_thread())